<template>
	<view class="notify yc">
		
		
		<view class="promotion-center">
			<view style="line-height: 30px;padding-left: 10px;padding: 10px 10px;">
				<se-pagination style="font-weight: bold; font-size: 15px;">计划服务内容</se-pagination>
				<view class="action" style="float: right;color: #0fb88d;">
					<u-icon name="edit-pen"  :size="15"></u-icon>
					
					编辑
				</view>
			</view>
			<view class="swiper" style="border: 1px solid #d0d0d1;padding: 5px;margin-top: 0px;">
				<u-cell-group :border="false">
					
						<u-cell-item :icon="false" :border-top="false" title="卷烟成列服务"></u-cell-item>
						<u-cell-item :border-bottom="false" title="卷烟成列服务"></u-cell-item>
						
				</u-cell-group>

			</view>

		</view>

		<view class="promotion-center">
			<view class="" >
				<view style="line-height: 30px;padding-left: 10px;padding: 10px 10px;">
					<se-pagination style="font-weight: bold; font-size: 15px;">其他服务内容</se-pagination>
					<view class="action" style="float: right;color: #0fb88d;">
						<u-icon name="edit-pen"  :size="15"></u-icon>
						
						保存
					</view>
				</view>
			</view>
			<view class="swiper" style="border: 1px solid #d0d0d1;padding: 5px;margin-top: 0px;">
				<!-- <u-cell-group :border="false">
					
						<u-cell-item :border-top="false" title="卷烟成列服务"></u-cell-item>
						<u-cell-item :border-bottom="false" title="卷烟成列服务"></u-cell-item>
						
				</u-cell-group> -->
				
				<radio-group class="block" style="width: 100%;" @change="RadioChange">
					<view class="cu-form-group">
						<view class="title">服务内容</view>
						<radio class='red margin-left-sm' :class="radio=='D'?'checked':''" :checked="radio=='D'?true:false" value="D"></radio>
						<!-- <radio :class="radio=='A'?'checked gchecked':''" :checked="radio=='A'?true:false" value="A"></radio> -->
					</view>
					<view class="cu-form-group ">
						<view class="title">服务内容</view>
						<radio class='red margin-left-sm' :class="radio=='D'?'checked':''" :checked="radio=='D'?true:false" value="D"></radio>
						<!-- <radio :class="radio=='A'?'checked gchecked':''" :checked="radio=='A'?true:false" value="A"></radio> -->
					</view>
					<view class="cu-form-group">
						<view class="title">服务内容</view>
						<radio class='red margin-left-sm' :class="radio=='D'?'checked':''" :checked="radio=='D'?true:false" value="D"></radio>
						<!-- <radio :class="radio=='A'?'checked gchecked':''" :checked="radio=='A'?true:false" value="A"></radio> -->
					</view>
					
				</radio-group>
				
				
								
		
			</view>
		
		</view>
		

		
	</view>

</template>
<script>
	
	import moment from '@/common/moment';
	import mConstDataConfig from '@/config/constData.config';
	import listCell from '@/components/oa-list-cell';
	import Map from '@/utils/openMap.js'
	import {
		mapMutations
	} from 'vuex';

	export default {
		components: {
			listCell,
		},
		data() {
			return {
				value: '',
				type: 'textarea',
				show:true,
				border: true,
				latitude: 39.9078008469,
					longitude: 116.391290596,
				/* 	// bd09
					latitude: 39.915547,
					longitude: 116.403909, */
				/* 	// gcj02
					latitude: 39.9091591069,
					longitude: 116.397478316, */
				name: '天安门'
			}
		},
		filters: {
		},
		onShow() {
			this.initData();
		},
		computed: {
			biaozhu(){
				
			},
			openMap() {
				Map.openMap(this.latitude, this.longitude, this.name, 'wgs84')
			},
			bottom() {
				let bottom = 0;
				/*  #ifdef H5  */
				bottom = 90;
				/*  #endif */
				return bottom;
			}
		},



		methods: {
			showModal(){
				this.show=true
			},
			// 数据初始化				            
			initData() {
				this.hasLogin = true;
				
			},
			radioChange(){
				
			},
			// 统一跳转接口,拦截未登录路由
			navTo(route) {
				if (!route) return;
				if (!this.hasLogin) {
					uni.removeStorageSync('backToPage');
					this.$mRouter.push({
						route: '/pages/public/login'
					});
				} else {
					this.$mRouter.push({
						route
					});
				}
			},

		}
	};
</script>
<style lang="scss">
	page {
		background-color: #f5faf9;
	}
	.uni-list-cell::after{
		right:16px;
		background-color: #c8c7cc5c;
	}
	.gchecked{
		    background-color: #0fb88d !important;
		    border-color: #0fb88d !important;
		    color: #ffffff !important;
	}
	.swiper {
		width: 95%;
		margin-top: 30upx;
		margin-bottom: 20upx;
		margin-left: 20upx;
		display: flex;
		border-radius: 15upx;

		
	}

	.notify {
		.works-empty {
			position: fixed;
			left: 0;
			top: 0;
			width: 100%;
			height: 100vh;
			padding-bottom: 100upx;
			display: flex;
			justify-content: center;
			flex-direction: column;
			align-items: center;
			background: #fff;

			.iconfont {
				font-size: $font-lg + 100upx;
			}

			.empty-tips {
				display: flex;
				font-size: $font-sm + 2upx;
				color: $font-color-disabled;

				.navigator {
					margin-left: 16upx;
				}
			}
		}

		.promotion-center {
			background: #fff;
			margin-bottom: 20upx;
			padding-bottom: 10px;
			

			/*分类列表*/
			.category-list {
				width: 100%;
				
				border-bottom: solid 2upx #f6f6f6;
				display: flex;
				flex-wrap: wrap;
				

				.category {
					width: 25%;
					margin-top: 25upx;
					display: flex;
					justify-content: center;
					flex-wrap: wrap;
					border: 1px red solid;
					.img {
						width: 100%;
						display: flex;
						justify-content: center;
						

						.iconfont {
							font-size: $font-lg + 50upx;
							
						}
					}

					.text {
						width: 100%;
						display: flex;
						justify-content: center;
						font-size: 24upx;
						color: #3c3c3c;
					}

					.share-btn {
						height: 142upx;
						text-align: left;
						background: none;
						padding: 0;
						margin: 0;
					}

					.share-btn:after {
						border: none;
						border-radius: none;
					}
				}
			}

		}
		.tt1{
			color: #7c7c80;
			display: flex;
			width: 100%;
			margin-bottom: 10px;
		}
		.header {
			width: 100%;
			padding-left: $font-lg;
			height: 100upx;
			display: flex;
			align-items: center;
			position: fixed;
			top: 0;
			z-index: 10;
			background-color: #fff;
			/*  #ifdef  APP-PLUS  */
			top: var(--status-bar-height);

			/*  #endif  */
			.title {
				font-size: 36upx;
			}
		}

		.place {
			background-color: #ffffff;
			height: 100upx;
			/*  #ifdef  APP-PLUS  */
			margin-top: var(--status-bar-height);
			/*  #endif  */
		}

		.notify-list {


			.row {
				width: calc(94%);
				height: calc(22vw + 40upx);
				margin: 0 auto $spacing-base;
				border-radius: 15upx;
				box-shadow: 0upx 5upx 20upx rgba(0, 0, 0, 0.1);
				display: flex;
				align-items: center;
				position: relative;
				overflow: hidden;
				z-index: 4;
				border: 0;

				.menu {
					.iconfont {
						color: #fff;
						font-size: 60upx;
					}

					position: absolute;
					width: 29%;
					height: 100%;
					right: 0;
					display: flex;
					justify-content: center;
					align-items: center;
					color: #fff;
					z-index: 2;
				}

				.carrier {
					@keyframes showMenu {
						0% {
							transform: translateX(0);
						}

						100% {
							transform: translateX(-30%);
						}
					}

					@keyframes closeMenu {
						0% {
							transform: translateX(-30%);
						}

						100% {
							transform: translateX(0);
						}
					}

					&.open {
						animation: showMenu 0.25s linear both;
					}

					&.close {
						animation: closeMenu 0.15s linear both;
					}

					background-color: #fff;
					position: absolute;
					width: 100%;
					padding: 0 0;
					height: 100%;
					z-index: 3;
					display: flex;
					align-items: center;
				}
			}

			.notify-wrapper {
				background-color: $color-white;
				width: 100%;
				padding: $spacing-base $spacing-lg $spacing-base 80upx;
				margin: $spacing-base 0 0;
				border-radius: 15upx;
				position: relative;
				

				.title {
					font-size: $font-lg;
					color: $font-color-dark;
					font-weight: 500;
					margin: 0 0 $spacing-sm;
				}

				.content {
					font-size: $font-sm;
					color: $font-color-base;
					height: 75upx;
					line-height: 36upx;
				}

				.time {
					font-size: $font-base;
					color: $font-color-light;
				}

				.type {
					position: absolute;
					top: 26upx;
					left: -10upx;
					border: none;
					font-size: $font-sm;
					opacity: 0.8;
				}

				.un-read {
					display: inline-block;
					width: 12upx;
					height: 12upx;
					border-radius: 50%;
					position: absolute;
					top: 32upx;
					right: 30upx;
				}
			}
		}

		.notify-empty {
			position: fixed;
			left: 0;
			top: 0;
			width: 100%;
			height: 100vh;
			padding-bottom: 100upx;
			display: flex;
			justify-content: center;
			flex-direction: column;
			align-items: center;
			background: #fff;
			

			.iconfont {
				font-size: $font-lg + 100upx;
			}

			.empty-tips {
				display: flex;
				font-size: $font-sm + 2upx;
				color: $font-color-disabled;

				.navigator {
					margin-left: 16upx;
				}
				
			}
		}

	}
	.box_1{
		width: 30%;
		height: 40px;
		margin-top: 10px;
		margin-left:2%;
		border-radius: 115upx;
		border: 1px solid #cccccc;
		span{
			width: 100%;
			text-align: center;
			
			font-size: 13px;
			line-height: 40px;
			margin-left: 30px;
		}
	}
	.u-mode-center-box{
		border-radius: 10px!important;
	}
	.box_2{
		width: 100px;
		height: 40px;
		margin-top: 10px;
		margin-left:2%;
		border-radius: 115upx;
		border: 1px solid #cccccc;
		span{
			width: 100%;
			text-align: center;
			
			font-size: 13px;
			line-height: 40px;
		}
	}
</style>
